import { BaseEntity } from '@cool-midway/core';
import { EntityModel } from '@midwayjs/orm';
import { Column } from 'typeorm';

/**
 * 商品
 */
@EntityModel('weibo_blog_activity')
export class WeiboBlogActivityEntity extends BaseEntity {
  @Column({ comment: 'blog.id', type: 'varchar', name: 'blog_id' })
  blogId: number;

  @Column({ comment: '活动id', type: 'int', name: 'activity_id' })
  activityId: number;
}
